package com.hdoit.ares.logical.acc.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.hdoit.ares.logical.acc.dao.IIncomeTaxDao;
import com.hdoit.ares.logical.acc.model.IncomeTax;
import com.hdoit.ares.logical.acc.service.IIncomeTaxService;
import com.hdoit.ares.logical.viewmodel.acc.IncomeTaxSearch;
import com.tennetcn.common.dao.base.impl.SuperService;
import com.tennetcn.common.message.PagerModel;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2018年04月10日 16:36:25
 * @comment
 */
@Component
public class IncomeTaxServiceImpl extends SuperService<IncomeTax> implements IIncomeTaxService{
	private IIncomeTaxDao incomeTaxDao;
	public IIncomeTaxDao getIncomeTaxDao() {
		return incomeTaxDao;
	}
	@Resource
	public void setIncomeTaxDao(IIncomeTaxDao incomeTaxDao) {
		this.incomeTaxDao = incomeTaxDao;
	}
	

	@Override
	public Double queryNetSalary(double money, String customerId) {
		return incomeTaxDao.queryNetSalary(money, customerId);
	}
	@Override
	public List<IncomeTax> queryList(IncomeTaxSearch search,
			PagerModel pagerModel) {
		return incomeTaxDao.queryList(search,pagerModel);
	}
	@Override
	public List<IncomeTax> queryList(IncomeTaxSearch search) {
		return incomeTaxDao.queryList(search);
	}
	@Override
	public int queryCount(IncomeTaxSearch search) {
		return incomeTaxDao.queryCount(search);
	}

}